context-sensitive grammar

Terms from Artificial Intelligence: humans at the heart of algorithms

A context-sensitive grammar has rules where the expansion of a non-terminal may depend on the tokens before or after.

Defined on pages 302, 302

Used on pages 296, 302, 306, 314